#!/bin/sh

rm ~/core.*

wallpaper="$HOME/.local/share/wallpaper/wallpaper.jpg"

dbus-update-activation-environment WAYLAND_DISPLAY \
                                   XDG_CURRENT_DESKTOP=wlr \
                                   MOZ_DBUS_REMOTE

wlr-randr --output HDMI-A-1 --custom-mode 1920x1080@75
wlr-randr --output HDMI-A-2 --custom-mode 1920x1080@75

exec autostartctl boot

#"$HOME/dwle/dwlb/dwlb" &

## now i use waybar btw
##
#memory_section() {
#    printf "mem: %s" "$(free -Lh | awk '{ print $6 }')"
#}

#statusbar() {
#    printf "%s | %s" \
#           "$(memory_section)" "$(date +"%H:%M %d.%m.%Y")"
#}

#(while true; do
#    "$HOME/dwle/dwlb/dwlb" -status all \
#        "$(statusbar)";
#    sleep 0.3;
#done)
